const express = require("express");
const router = express.Router();
const ordersController = require("../controllers/ordersController");

router.get("/", ordersController.getList);
router.post("/", ordersController.add);
router.put("/:id", ordersController.update);
router.delete("/:id", ordersController.remove);

module.exports = router;
